package com.zwf.domain.strategy.service;

import com.zwf.domain.strategy.model.entity.RaffleAwardEntity;
import com.zwf.domain.strategy.model.entity.RaffleFactorEntity;

/**
 * @Author zwf
 * @description 抽奖策略接口
 * @date 2024/7/4 13:04
 */
public interface IRaffleStrategy {

    /**
     * 执行抽奖；用抽奖因子入参，执行抽奖计算，返回奖品信息
     * @param raffleFactorEntity
     * @return
     */
    RaffleAwardEntity performRaffle(RaffleFactorEntity raffleFactorEntity);
}
